package com.briup.day07;

import com.sun.deploy.xml.XMLable;

import java.awt.*;

/**
 * @author ThinkBook
 */
public class Test01_Label {
    //label标签用法
    public static void main(String[] args) {
        label1: for(int i = 0; i < 3; i++) {
            label2: for(int j = 0; j < 5; j++) {
                if(j == 2) {
                    break;
                }
                System.out.println("i：" + i + " j: " + j);
            }
        }

        System.out.println("out of for");
    }
}
